package com.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("user")
public class User {
    private int id;
    private String uname;
    private String mobile;
    private String psw;
    private int age;
    private int sex;
    private String college;
    private String cla;
    private int credit;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getCla() {
        return cla;
    }

    public void setCla(String cla) {
        this.cla = cla;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", mobile='" + mobile + '\'' +
                ", psw='" + psw + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", college='" + college + '\'' +
                ", cla='" + cla + '\'' +
                ", credit='" + credit + '\'' +
                '}';
    }
}
